// UploadThread.h: interface for the UploadThread class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_UPLOADTHREAD_H__25B06173_5244_418A_A4A5_F0BA9809E890__INCLUDED_)
#define AFX_UPLOADTHREAD_H__25B06173_5244_418A_A4A5_F0BA9809E890__INCLUDED_

#include "FileUpload.h"
#include "KetonalConfig.h"
#include "KetonalInputDialogComponent.h"
class FileDropTargetComponent;
#include <juce.h>

class UploadThread  : public Thread
{
	public:
		UploadThread(KetonalConfig *_config, File file, FileDropTargetComponent *_p);
		~UploadThread();
		void run();
		void setFile (File f);

	private:
		String uploadFilePath;
		FileUpload *fileUpload;
		KetonalConfig *config;
		String fileFieldName;
		int currentIndex;
		int allFiles;
		FileDropTargetComponent *parent;
};

#endif
